org.eclipse.vtp.framework.core
Interface IProcessContext
- All Superinterfaces:
- IContext, ILogger, IReporter
- All Known Subinterfaces:
- IActionContext, IExecutionContext, ISessionContext
- All Known Implementing Classes:
- AbstractActionContext, AbstractExecutionContext, AbstractProcessContext, AbstractSessionContext, ActionContextWrapper, Execution.Context, ExecutionContextWrapper, Process.Context, ProcessContextWrapper, Sequence.Context, Session.Context, SessionContextWrapper
public interface IProcessContext
- extends IContext
A service available to all services at any scope.
- Author:
- Lonnie Pryor
|
Method Summary |
java.lang.String |
getProcessID()
Returns the ID of this process. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Returns the value of the process-level configuration property with the
specified name or null if no such property exists. |
java.lang.Class |
loadClass(java.lang.String className)
Loads a class visible to the process. |
| Methods inherited from interface org.eclipse.vtp.framework.core.ILogger |
debug, debug, debug, debug, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, log, warn, warn, warn, warn |
getProcessID
java.lang.String getProcessID()
- Returns the ID of this process.
- Returns:
- The ID of this process.
getProperty
java.lang.Object getProperty(java.lang.String propertyName)
throws java.lang.NullPointerException
- Returns the value of the process-level configuration property with the
specified name or
null if no such property exists.
- Parameters:
propertyName - The name of the configuration property to return.
- Returns:
- The value of the process-level configuration property with the
specified name or
null if no such property exists.
- Throws:
java.lang.NullPointerException - If the supplied property name is
null.
loadClass
java.lang.Class loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException,
java.lang.NullPointerException
- Loads a class visible to the process.
- Parameters:
className - The name of the class to load.
- Returns:
- The requested class instance.
- Throws:
java.lang.ClassNotFoundException - If a class with the specified name cannot be
found.
java.lang.NullPointerException - If the supplied class name is
null.